package com.zklh.book.system.enums;


public enum UserRoleEnum {
    CONSUMER("consumer", "普通用户"), ADMIN("admin", "管理员"), UNKNONW("unknown", "未指明角色, 都不可用");
    private String key;

    private String description;

    public String getKey() {
        return key;
    }

    public String getDescription() {
        return description;
    }

    UserRoleEnum(String key, String description) {
        this.key = key;
        this.description = description;
    }
}
